// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_REJECTED_ORDER_ITEM
// * CreateDate    : 2011/10/25 11:27:58
// * Creater       : CodeSmith
// * LastChangeDate: 2011/10/25 11:27:58
// * LastChanger   : 2011/10/25 11:27:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurRejectedOrderItemTable : TableInfo
    {
		public const string C_TableName = "PUR_REJECTED_ORDER_ITEM";
		
		public const string C_REJECTED_ORDER_ITEM_ID = "REJECTED_ORDER_ITEM_ID";
		public const string C_REJECTED_ORDER_ID = "REJECTED_ORDER_ID";
		public const string C_ARRIVED_ITEM_ID = "ARRIVED_ITEM_ID";
		public const string C_QTY = "QTY";
		public const string C_REJECTED_REASON = "REJECTED_REASON";
		public const string C_REMARK = "REMARK";
		
		public PurRejectedOrderItemTable()
        {
            _tableName = "PUR_REJECTED_ORDER_ITEM";
        }
		
		protected static PurRejectedOrderItemTable _current;
        public static PurRejectedOrderItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurRejectedOrderItemTable();

            _current.Add(C_REJECTED_ORDER_ITEM_ID, new ColumnInfo(C_REJECTED_ORDER_ITEM_ID,"RejectedOrderItemId", true, typeof(string)));
            _current.Add(C_REJECTED_ORDER_ID, new ColumnInfo(C_REJECTED_ORDER_ID,"RejectedOrderId", false, typeof(string)));
            _current.Add(C_ARRIVED_ITEM_ID, new ColumnInfo(C_ARRIVED_ITEM_ID,"ArrivedItemId", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_REJECTED_REASON, new ColumnInfo(C_REJECTED_REASON,"RejectedReason", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo REJECTED_ORDER_ITEM_ID
        {
            get { return this[C_REJECTED_ORDER_ITEM_ID]; }
        }
		
		public ColumnInfo REJECTED_ORDER_ID
        {
            get { return this[C_REJECTED_ORDER_ID]; }
        }
		
		public ColumnInfo ARRIVED_ITEM_ID
        {
            get { return this[C_ARRIVED_ITEM_ID]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo REJECTED_REASON
        {
            get { return this[C_REJECTED_REASON]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

